package com.wsx.ones.monitor.core.log;

/**
 * rpc核心的日志顶层设计
 * Created by wangshuaixin on 17/2/9.
 */
public interface LogService {

    //跟踪
    void trace(String msg);
    void trace(String format, Object... array);

    //信息
    void info(String msg);
    void info(String format, Object... array);
    void info(String msg, Throwable throwable);

    //调试
    void debuge(String msg);
    void debuge(String format, Object... array);
    void debuge(String msg, Throwable throwable);

    //警告
    void warn(String msg);
    void warn(String format, Object... array);
    void warn(String msg, Throwable throwable);

    //错误
    void error(String msg);
    void error(String format, Object... array);
    void error(String msg, Throwable throwable);
}
